package objects;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Monkey on 2017/3/28.
 * 输液单父项
 */

public class Order_SYD_Parent implements Parcelable {

    private String SYDH;//输液单号
    private String TMBH;//条码编号
    private String YPYF;//药品用法
    private String YFMC;//用法名称
    private String SYSJ;//输液时间
    private String SYPC;//使用频次
    private String SYZT;//输液状态
    private String HDBZ;//核对时间
    private String HDRY;//核对人员
    private String HDSJ;//核对时间
    private String YHXM;//和对员工姓名
    private String KSSJ;//开始时间
    private String KSGH;//开始工号
    private String KSYG;//开始员工
    private String JSSJ;//结束时间
    private String JSGH;//结束工号
    private String JSYG;//结束员工

    public Order_SYD_Parent(String sydh, String tmbh, String ypfy, String yfmc, String sysj, String sypc, String syzt, String hdbz, String hdry, String hdsj, String yhxm, String kssj, String ksgh, String ksyg, String jssj, String jsgh, String jsyg) {
        this.SYDH = sydh;
        this.TMBH = tmbh;
        this.YPYF = ypfy;
        this.YFMC = yfmc;
        this.SYSJ = sysj;
        this.SYPC = sypc;
        this.SYZT = syzt;
        this.HDBZ = hdbz;
        this.HDRY = hdry;
        this.HDSJ = hdsj;
        this.YHXM = yhxm;
        this.KSSJ = kssj;
        this.KSGH = ksgh;
        this.KSYG = ksyg;
        this.JSSJ = jssj;
        this.JSGH = jsgh;
        this.JSYG = jsyg;
    }

    private Order_SYD_Parent(Parcel in) {
        SYDH = in.readString();
        TMBH = in.readString();
        YPYF = in.readString();
        YFMC = in.readString();
        SYSJ = in.readString();
        SYPC = in.readString();
        SYZT = in.readString();
        HDBZ = in.readString();
        HDRY = in.readString();
        HDSJ = in.readString();
        YHXM = in.readString();
        KSSJ = in.readString();
        KSGH = in.readString();
        KSYG = in.readString();
        JSSJ = in.readString();
        JSGH = in.readString();
        JSYG = in.readString();
    }

    public static final Creator<Order_SYD_Parent> CREATOR = new Creator<Order_SYD_Parent>() {
        @Override
        public Order_SYD_Parent createFromParcel(Parcel in) {
            return new Order_SYD_Parent(in);
        }

        @Override
        public Order_SYD_Parent[] newArray(int size) {
            return new Order_SYD_Parent[size];
        }
    };

    public String getKSSJ() {
        return KSSJ;
    }

    public void setKSSJ(String KSSJ) {
        this.KSSJ = KSSJ;
    }

    public String getKSGH() {
        return KSGH;
    }

    public void setKSGH(String KSGH) {
        this.KSGH = KSGH;
    }

    public String getKSYG() {
        return KSYG;
    }

    public void setKSYG(String KSYG) {
        this.KSYG = KSYG;
    }

    public String getJSSJ() {
        return JSSJ;
    }

    public void setJSSJ(String JSSJ) {
        this.JSSJ = JSSJ;
    }

    public String getJSGH() {
        return JSGH;
    }

    public void setJSGH(String JSGH) {
        this.JSGH = JSGH;
    }

    public String getJSYG() {
        return JSYG;
    }

    public void setJSYG(String JSYG) {
        this.JSYG = JSYG;
    }

    public String getYHXM() {
        return YHXM;
    }

    public void setYHXM(String YHXM) {
        this.YHXM = YHXM;
    }

    public String getSYSJ() {
        return SYSJ;
    }

    public void setSYSJ(String SYSJ) {
        this.SYSJ = SYSJ;
    }

    public String getYFMC() {
        return YFMC;
    }

    public void setYFMC(String YFMC) {
        this.YFMC = YFMC;
    }

    public String getTMBH() {
        return TMBH;
    }

    public void setTMBH(String TMBH) {
        this.TMBH = TMBH;
    }

    public String getSYDH() {
        return SYDH;
    }

    public void setSYDH(String SYDH) {
        this.SYDH = SYDH;
    }

    public String getYPYF() {
        return YPYF;
    }

    public void setYPYF(String YPYF) {
        this.YPYF = YPYF;
    }

    public String getSYPC() {
        return SYPC;
    }

    public void setSYPC(String SYPC) {
        this.SYPC = SYPC;
    }

    public String getSYZT() {
        return SYZT;
    }

    public void setSYZT(String SYZT) {
        this.SYZT = SYZT;
    }

    public String getHDBZ() {
        return HDBZ;
    }

    public void setHDBZ(String HDBZ) {
        this.HDBZ = HDBZ;
    }

    public String getHDRY() {
        return HDRY;
    }

    public void setHDRY(String HDRY) {
        this.HDRY = HDRY;
    }

    public String getHDSJ() {
        return HDSJ;
    }

    public void setHDSJ(String HDSJ) {
        this.HDSJ = HDSJ;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(SYDH);
        dest.writeString(TMBH);
        dest.writeString(YPYF);
        dest.writeString(YFMC);
        dest.writeString(SYSJ);
        dest.writeString(SYPC);
        dest.writeString(SYZT);
        dest.writeString(HDBZ);
        dest.writeString(HDRY);
        dest.writeString(HDSJ);
        dest.writeString(YHXM);
        dest.writeString(KSSJ);
        dest.writeString(KSGH);
        dest.writeString(KSYG);
        dest.writeString(JSSJ);
        dest.writeString(JSGH);
        dest.writeString(JSYG);
    }
}
